﻿package com.d4p.custom.xmlProxy
{
	public class XMLProductProxy implements IFXMLProduct
	{
		private var _data:XML;
		private var _product:XMLProduct;
		
		public function XMLProductProxy($data:XML)
		{
			this._data 		= $data;
			this._product	= new XMLProduct();
		}
		
		public function getproduct():XMLList
		{
			//nodeName 입력.
			//_product.setproduct(_data.nodeName);
			
			return _product.getproduct();
		}

		public function setproduct($param:XMLList):void
		{
			_product.setproduct($param);
		}
	}
}